package looker;

import java.util.ArrayList;
import java.util.List;

public class Regetister {

	List<Looker> looker=new ArrayList<>();
	
	public void addLooker(Looker lo) {
		looker.add(lo);
	}
	
	public void removeLooker(Looker lo) {
		looker.remove(lo);
	}
	protected void sendUpdata() {
		for(Looker loo:looker) {
			loo.updata(this);
		}
	}
}
